<cfcomponent displayname="" extends="app.CFmaker" hint="" output="false">
	<cffunction access="public" name="onApplicationStart" output="false" returntype="boolean">
		<cfset super.onApplicationStart()>

		<cflock scope="Application" throwontimeout="true" timeout="17" type="exclusive">
			<!--- BE SURE TO TOGGLE THIS AS NEEDED --->
			<cfset application.developmentMode = true>
			<!--- DEVELOPMENT MODE SWITCH --->
		</cflock>

		<cfreturn true>
	</cffunction>
<!---  --->
	<cffunction access="public" name="onRequestStart" returnType="boolean">
	    <cfargument type="String" name="targetPage" required="true">

		<cfset super.onRequestStart(arguments.targetPage)>

		<cfset setLocale("English (US)")>

	    <cfreturn true>
	</cffunction>
<!---  --->
	<cffunction name="onError" access="public" returntype="void" output="true">
		<cfargument name="exception" type="any" required="true">
		<cfargument name="eventName" type="string" required="false" default="">

		<!--- we don't trigger an event here because the event registry may not have been created yet --->

		<div align="center" onclick="document.getElementById('frameworkErrorDiv').style.display = '';" style="color: red; font-weight: bold;">
			AN ERROR HAS OCCURRED
		</div>
		<div align="center" id="frameworkErrorDiv" style="display: none;">
			<cfdump var="#arguments#">
		</div>

		<cflog application="true" log="error" text="#structfind(arguments.exception, 'Message')#" type="error">
		<cfset arrayAppend(application.errorLog, arguments)>
	</cffunction>
</cfcomponent>